package com.geek.ch03.jiekou;

/**
 * @author chenmin
 * @desc TODO
 * @date 2025/9/3
 */
public class Test {

    public static void  makeFly(CanFly flyer){
        flyer.fly();
    }
    public static void main(String[] args) {

        Airplane airplane = new Airplane();
        Bird bird = new Bird();

        makeFly(airplane);
        makeFly(bird);

    }
}
